package com.zhy.sping.dao;

import com.zhy.sping.entity.Coupon;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface CouponDao {
    //查询优惠券
    Coupon selectById(int id);
    //修改优惠券的状态
    int update(@Param("id") int id,@Param("count") int count);

}
